package com.ryskoo.catering.productimage.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author JackHou
 */
@Entity
@Table(name = "cater_product_image")
public class ProductImagePO extends BasicPO {

    /* 商品主表UUID */
    @Column(name = "product_uuid",columnDefinition = "char",length = 32)
    private String productUuid;
    /* 基础图片url 600*600 或者 800*800 */
    @Column(name = "base_Img",columnDefinition = "varchar",length = 100)
    private String baseImg;
    /* 商品大图 800*800 */
    @Column(name = "big_Img",columnDefinition = "varchar",length = 100)
    private String bigImg;
    /* 商品中图 400*400 */
    @Column(name = "center_Img",columnDefinition = "varchar",length = 100)
    private String centerImg;
    /* 商品小图 200*200 */
    @Column(name = "small_Img",columnDefinition = "varchar",length = 100)
    private String smallImg;
    /* 是否是主图 1-是；0-否*/
    @Column(name = "is_main_img")
    private boolean isMainImg = false;

    public String getProductUuid() {
        return productUuid;
    }

    public void setProductUuid(String productUuid) {
        this.productUuid = productUuid;
    }

    public String getBaseImg() {
        return baseImg;
    }

    public void setBaseImg(String baseImg) {
        this.baseImg = baseImg;
    }

    public String getBigImg() {
        return bigImg;
    }

    public void setBigImg(String bigImg) {
        this.bigImg = bigImg;
    }

    public String getCenterImg() {
        return centerImg;
    }

    public void setCenterImg(String centerImg) {
        this.centerImg = centerImg;
    }

    public String getSmallImg() {
        return smallImg;
    }

    public void setSmallImg(String smallImg) {
        this.smallImg = smallImg;
    }

    public boolean isMainImg() {
        return isMainImg;
    }

    public void setMainImg(boolean mainImg) {
        isMainImg = mainImg;
    }
}
